<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>果宝特攻</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">

    <!-- Link Swiper's CSS -->
    <link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.min.css">

    <!-- Demo styles -->
    <style>
        html,
        body {
            position: relative;
            height: 100%;
        }

        body {
            background: #eee;
            font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: 14px;
            color: #000;
            margin: 0;
            padding: 0;
        }

        .swiper-container {
            width: 100%;
            height: 100%;
        }

        .swiper-wrapper {
            /* 通过改变animation-timing-function 制作弹性切换效果 */
            transition: 2s cubic-bezier(0.68, -0.4, 0.27, 1.34) 0.2s;
        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;

            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
        }

        img {
            width: 800px;
            height: 450px;
        }
    </style>
</head>

<body>
    <!-- Swiper -->
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide"><img
                    src="https://ts2.tc.mm.bing.net/th?id=OIP-C.iXjObWJMrPEpQ99-uZcVgwHaE8&w=306&h=204&c=8&rs=1&qlt=90&o=6&dpr=1.5&pid=3.1&rm=2">
            </div>
            <div class="swiper-slide"><img
                    src="https://ts4.tc.mm.bing.net/th?id=OIP-C.aMKzYX7E0cpQmM4zEjLdFgHaEI&w=334&h=186&c=8&rs=1&qlt=90&o=6&dpr=1.5&pid=3.1&rm=2">
            </div>
            <div class="swiper-slide"><img
                    src="https://ts3.tc.mm.bing.net/th?id=OIP-C.RPMJ4hXQXw5Of5tQS-hAXQHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=1.5&pid=3.1&rm=2">
            </div>
            <div class="swiper-slide"><img
                    src="https://ts1.tc.mm.bing.net/th?id=OIP-C._nHvmheSlMivizqsUliWjgHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=1.5&pid=3.1&rm=2">
            </div>
            <div class="swiper-slide"><img
                    src="https://ts4.tc.mm.bing.net/th?id=OIP-C.bdkSDv-iNwkJi4f68aoTpAHaEo&w=316&h=197&c=8&rs=1&qlt=90&o=6&dpr=1.5&pid=3.1&rm=2">
            </div>
            <div class="swiper-slide"><img
                    src="https://ts4.tc.mm.bing.net/th?id=OIP-C.AJmL39vDMKrLdB_b5YYM2AHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=1.5&pid=3.1&rm=2">
            </div>
            <div class="swiper-slide"><img
                    src="https://ts3.tc.mm.bing.net/th?id=OIP-C.KU7u-1KSCbivQa1yFbEqfAHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=1.5&pid=3.1&rm=2">
            </div>
            <div class="swiper-slide"><img
                    src="https://ts1.tc.mm.bing.net/th?id=OIP-C.Ty6v33X8nL7O4nxJwyl47wHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=1.5&pid=3.1&rm=2">
            </div>
        </div>
        <!-- Add Arrows -->
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
    </div>

    <!-- Swiper JS -->
    <script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"> </script>

    <!-- Initialize Swiper -->
    <script>
        var swiper = new Swiper('.swiper-container', {
            autoplay: true,
            autoplay: {
                delay: 1000,
            },
            speed: 2000,
            navigation: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
            },
        });
    </script>
</body>

</html>